
from glob import iglob
import shutil
import os

files = [

"main.js",
"utils.js",
"Cube.js",
"Puzzle.js",
"Button.js",
"CountdownTimer.js",
"MessageBoxHandler.js",
"MessageBox.js",
"statistics.js",
"app.js"
]

destination = open("concat.js",'wb')
for filename in files:
    shutil.copyfileobj(open(filename, 'rb'), destination)
destination.close()